//
//  FeedbackCellTableViewCell.swift
//  fsapp
//
//  Created by ly on 2017/9/22.
//  Copyright © 2017年 huangshengjie. All rights reserved.
//

import UIKit

class FeedbackCellTableViewCell: UITableViewCell {

    let timelabel = UILabel()
    let content = UILabel()
    let replyName  = UILabel()
    let replayContent = UILabel()
    
    
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        setUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    
    func setUI(){
        timelabel.frame = CGRect(x:getWidth(width: 41),y:getHeight(19),width:0,height:0)
        timelabel.font = UIFont.systemFont(ofSize: getHeight(26))
        timelabel.textColor = title2color
        
        content.frame = CGRect(x:getWidth(width: 41),y:getHeight(67),width:0,height:0)
        content.font = UIFont.systemFont(ofSize: getHeight(26))
        content.textColor = UIColor.black
        
        replyName.frame = CGRect(x:getWidth(width: 41),y:getHeight(167),width:0,height:0)
        replyName.font = UIFont.systemFont(ofSize: getHeight(26))
        replyName.textColor = naviColor
        replyName.text = "客服回复："
        replyName.sizeToFit()
        
        
        replayContent.frame = CGRect(x:getWidth(width: 167),y:getHeight(167),width:SCREEN_WIDTH - getWidth(width: 167),height:getHeight(30))
        replayContent.font = UIFont.systemFont(ofSize: getHeight(26))
        replayContent.textColor = UIColor.black
        
        self.addSubview(timelabel)
        self.addSubview(content)
        self.addSubview(replayContent)
        self.addSubview(replyName)
        
        
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
